package org.shinetour.sms.model;

/**
 * @Description: 标准错误
 * @Author: ZhenHua Wang
 * @CreateDate: 2020/4/21 17:27
 */
public enum StandardError {
    SUCCESS(200, "操作成功"), ERROR(100, "");

    private int code;
    private String msg;

    StandardError(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
